<?php
	class EncryptionConfig
	{
		// Returns the IV size
		private static function GetIVSize()
		{
			$td = mcrypt_module_open(MCRYPT_BLOWFISH, '', MCRYPT_MODE_ECB, '');
			return mcrypt_enc_get_iv_size($td);
		}
			
		// Returns the IV
		public static function GetIV()
		{
			return mcrypt_create_iv(EncryptionConfig::GetIVSize(), MCRYPT_RAND);	
		}
		
		// Returns the key
		public static function GetKey()
		{
			return "Some super secret key";	
		}	
	}		